package com.team.sns.entities;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
public class MessageRoardReply implements Serializable {

	private static final long serialVersionUID = 2441438484038772488L;

	private String id;
	private String content;
	private String replyUserId;
	private String messageBoardId;

	@Id @Column(nullable=false,length=36)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(length = 1000)
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	@Column(length = 20)
	public String getReplyUserId() {
		return replyUserId;
	}

	public void setReplyUserId(String replyUserId) {
		this.replyUserId = replyUserId;
	}

	@Column(length = 20)
	public String getMessageBoardId() {
		return messageBoardId;
	}

	public void setMessageBoardId(String messageBoardId) {
		this.messageBoardId = messageBoardId;
	}

}
